/**********************************
 * @Author: Ronnie Zhang
 * @LastEditor: Ronnie Zhang
 * @LastEditTime: 2023/12/05 21:29:51
 * @Email: zclzone@outlook.com
 * Copyright © 2023 Ronnie Zhang(大脸怪) | https://isme.top
 **********************************/

import { request } from '@/utils'

export default {
  create: (data) => request.post('/task/create', data),
  read: (params = {}) => request.post('/task/page', params ),
  update: (data) => request.post(`/task/update`, data),
  delete: (id) => request.post(`/task/remove`,{id})
}
